
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=0.1,user-scalable=yes">
		<title>
			商品类别
		</title>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<link rel="shortcut icon" href="favicon.ico">
		<link href="../static/admin/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
		<link href="../static/admin/css/font-awesome.css?v=4.4.0" rel="stylesheet">
		<link href="../static/admin/css/plugins/iCheck/custom.css" rel="stylesheet">
		<link href="../static/admin/css/animate.css" rel="stylesheet">
		<link href="../static/admin/css/style.css?v=4.1.0" rel="stylesheet">
		<link href="../static/admin/css/bootstrap-editable.css" rel="stylesheet"
		/>
		<link href="../static/admin/css/bootstrapValidator.min.css" rel="stylesheet"
		/>
	</head>
	<body class="gray-bg">
		<div class="wrapper wrapper-content animated fadeInRight">
			<div class="row">
				<div class="col-sm-12">
					<div class="ibox float-e-margins">
						<div class="ibox-title">
							<h5>
								商品类别
							</h5>
						</div>
						<div>
							<div class="ibox-content" style="padding-bottom:0px;">
								<div>
									<label class="form-inline" />
									类别id：
									<input type="text" class="form-control" id="searchId" />
									</label>
									<label class="form-inline" />
									类别名称：
									<input type="text" class="form-control" id="searchName" />
									</label>
									<button type="button" class="btn btn-sm btn-primary" onclick="serches()">
										搜索
									</button>
									</span>
									<a data-toggle="modal" class="btn btn-info" style="float: right;" href="#modal-form"
									data-toggle="modal" data-target="#myModal">
										添加
									</a>
								</div>
							</div>
							<div class="ibox-content">
								<table class="table table-bordered" id="goodstype">
								</table>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModal"
			aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
								&times;
							</button>
							<h4 class="modal-title" id="title">
								添加商品类别
							</h4>
						</div>
						<div class="modal-body">
							<form class="form-horizontal" id="addTypes" method="post" action="http://localhost/admin/addTypes/v1">
								<div class="form-group">
									<label class="col-sm-3 control-label">
										类别名称：
									</label>
									<div class="col-sm-8">
										<input type="text" id="name" name="name" placeholder="类别名称" class="form-control">
									</div>
								</div>
							</form>
						</div>
						<div class="modal-footer">
							<button type="button" class="btn btn-default" data-dismiss="modal">
								取消
							</button>
							<button type="button" id="sub" class="btn btn-primary" data-dismiss="modal">
								确定
							</button>
						</div>
					</div>
				</div>
			</div>
			<script src="../static/admin/js/jquery.min.js?v=2.1.4">
			</script>
			<script src="../static/admin/js/bootstrap.min.js?v=3.3.6">
			</script>
			<script src="../static/admin/js/jquery.form.js">
			</script>
			<script src="../static/admin/js/jquery.cookie.js">
			</script>
			<script src="../static/admin/js/plugins/bootstrap-table/bootstrap-table.min.js">
			</script>
			<script src="../static/admin/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js">
			</script>
			<script src="../static/admin/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js">
			</script>
			<script src="../static/admin/js/bootstrap-editable.min.js">
			</script>
			<script src="../static/admin/js/bootstrap-table-editable.js">
			</script>
			<script src="../static/admin/js/bootstrapValidator.min.js">
			</script>
			<script src="../static/admin/myjs/goodstype.js">
			</script>
	</body>

</html>
</body>

</html>